package week05.q2;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import week05.q2.beans.SuperUser;
import week05.q2.beans.User;

/**
 * @author lv
 * @date 2021/4/17 10:29
 */
@Configuration
public class BeanConfig {
    @Bean("user3")
    public static User getUser2(){
        User user = new User();
        return user;
    }
}
